beginoutdoorscript;
variables;

body;
beginstate 0;

break;
beginstate 1;

break;
beginstate 2;

break;
beginstate 10;
    if (get_flag(15, 4) == 1)
        message_dialog("The gate of this watchpost is closed. Fortunately, there are no guards.", "You climb over it easily.");
    else {
        message_dialog("This watchpost has many guards. You doubt they will let you through, or even come down and fight.", "They would propably just bambard you with missiles, so you decide to leave.");
        block_entry(1);
    }
break;
beginstate 11;

break;
beginstate 12;

break;
beginstate 13;

break;